import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from "@/components/Home"
import Course from "@/components/Course"
import News from "@/components/News"

Vue.use(VueRouter)

const router = new  VueRouter({
    routes: [
        {
            path: '/home',
            name: "Home",
            component: Home
        },
        {
            path: '/course',
            name: "Course",
            component: Course
        },
        {
            path: '/news',
            name: "News",
            component: News
        },
    ]
})

export default router